// interface IGenericIdentityFn<T> {
//     (arg: T) : T
// }

type IGenericIdentityFn<T> = (arg: T)  => T

function identity<T>(arg: T): T {
    return arg;
}

const myIdentity: IGenericIdentityFn<string> = identity

export default myIdentity